package com.zx.onlineeducation.service.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * VOD视频点播服务主启动类
 *
 * @author 郑雪
 * @since 2022-01-16
 */
// 开启服务注册发现功能，作为客户端访问Nacos注册中心
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan("com.zx.onlineeducation")
public class VodApplication {
    public static void main(String[] args) {
        SpringApplication.run(VodApplication.class, args);
        System.out.println("\033[41m【服务消费者】VOD视频点播服务，启动成功   ლ(´ڡ`ლ)ﾞ \033[0m\n");
    }
}
